package edu.sctu.xialei.May.day20150507two;

/**
 * Created by Administrator on 2015/5/7 0007.
 */
public class Computer  implements Maker,Price,Sales,Printing{

    String maker;
    int sales;
    float price;

    @Override
    public void getMaker() {

        maker = "联想笔记本";
    }

    @Override
    public void getPrice() {

        price = (float) 3000.00;
    }

    @Override
    public void getSales() {

        sales = 120;
    }

    @Override
    public void printing() {

        System.out.println("****电脑信息****"+"\n厂商： "+maker+"\n价格： "+price+"\n销售： "+sales);
    }
}
